package org.huang.user.exception;

import org.huang.exception.BizExcStatus;

/**
 * @描述：UserErrorStatus类描述
 * @作者: huanganwei
 * @创建时间: 2018-11-16 15:25:44
 * @版本: 1.0
 */
public enum UserErrorStatus  implements BizExcStatus{
    LOGIN_ERROR(10000,"登陆失败"),
    ERROR_USERNAME(10001,"用户名不存在"),
    ERROR_PASSWORD(10002,"密码不正确"),
    ERROR_USERNAME_PASSWORD(10003,"用户名/密码错误");

    private Integer code;
    private String message;

    UserErrorStatus(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return null;
    }

    @Override
    public String getMessage() {
        return null;
    }
}
